{ From user A Lumens, Project Matrixexample at Thu, Nov 4, 1993 3:53 PM}
{ System Variables with non-default values: }
Numberwidth := 7
Samplesize := 200
Verbosity := 18
Sampletype := 1
Typechecking := 1
Checking := 1
Saveoptions := 2
Savevalues := 0
{ Non-default Time SysVar value: }
Time := [0]
Project Matrixexample
Title: Matrix Example
Description: This model shows how to set up and use the new matrix functions in Demos.
Author: A Lumens
Date: Wed, Jan 20, 1993 5:15 PM
Saveauthor: A Lumens
Savedate: Thu, Nov 4, 1993 3:53 PM
Diagstate: 1,50,63,422,234,1
Windstate: 1,120,213
Fileinfo: 0,-2,23541,Project Matrixexample,Matrix Example
Getresource
Index I
Title: i
Description: An index defined as a list of three items, the same number of items as Index j.
Definition: [1 2 3]
Location: 48,88
Nodesize: 24,12
Index J
Title: j
Description: An index defined as a list of three string items, the same number of items as Index i.
Definition: ['a', 'b', 'c']
Location: 48,120
Nodesize: 24,12
Valuestate: 1,72,82,416,303,0,MIDM
Chance A
Title: Original~
Matrix
Description: An "original" matrix: a bunch of random numbers
Definition: Table(I,J)(
4,2,3,
1,5,2,
2,3,7
)
Location: 144,104
Nodesize: 48,20
Valuestate: 1,18,216,304,140,0,MIDM
Reformval: [I ,J ]
Chance Transposed
Title: Transposed
Description: Transposes A by switching values along i and j dimensions
Definition: Transpose( A, i, j )
Location: 272,32
Nodesize: 48,20
Valuestate: 1,431,42,304,140,0,MIDM
Reformval: [I ,J ]
Chance Inverted
Title: Inverted
Description: Inverts A along i and j
Definition: Invert( A, i, j )
Location: 272,80
Nodesize: 48,20
Valuestate: 1,431,204,304,140,0,MIDM
Reformval: [I ,J ]
Chance Determinan
Title: Determinant
Description: Calculates the determinant of A across i and j
Definition: Determinant( A, i, j )
Location: 272,128
Nodesize: 48,20
Valuestate: 1,431,367,224,138,0,MIDM
Chance Decomposed
Title: Decomposed
Description: This performs decomposition of A along i and j.~
~
Note: this is a variant of Choleski decomposition, so it is not a true LU decomposed matrix. It switches rows and includes values from both upper and lower decomposed matrixes.